package cn.tj212.xiaoyin.dao.mapper;

import cn.tj212.xiaoyin.entitiy.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserDao {
    @Select("select * from user where Id=#{id}")
    public User getById(Integer id);
}
